package com.huatai.user.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @program: ht-system
 * @description: 部门实体类
 * @author: songxiude
 * @create: 2023-02-17 11:13
 **/
@Data
@ApiModel(value = "部门实体类",description = "部门实体类")
public class DepartVo implements Serializable {
	private static final long serialVersionUID = 1L;
	@TableId
	@ApiModelProperty("部门id")
	private Long id;

	@ApiModelProperty(value = "部门名称",required = true)
	@NotBlank(message = "部门名称不能为空")
	private String deptName;

	@ApiModelProperty("上级部门id")
	private Long parentId;

	@ApiModelProperty("排序")
	private Integer sort;

	@ApiModelProperty("部门负责人")
	private String leader;

	@ApiModelProperty("状态0正常1禁用")
	private Integer status;
}
